/*
 * Copyright 2022 Haulmont.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.report-table-edit-fragment-root {
    max-width: 40em;
}

.report-table-edit-fragment-data-grids-box {
    max-width: 40em;
}

.report-table-edit-fragment-band-box {
    min-width: 15em;
}

.report-table-edit-fragment-template-form {
    max-width: 40em;
}

.report-bands-layout {
    flex-grow: 1;
    flex-basis: 20em;
}

.report-bands-details-layout {
    flex-grow: 1;
    flex-basis: 30em;
}

.report-data-sets-data-grid-layout {
    flex-grow: 1;
    min-width: 20em;
}

.report-data-set-details-layout {
    flex-grow: 2;
    min-width: 15em;
}

.report-flex-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.report-multi-data-set-layout.report-flex-layout {
    gap: var(--lumo-space-m);
}

.report-field-icon {
    cursor: pointer;
}

.report-field-icon-size {
    padding: 0.25em;
}

.report-dialog-transparent-code code {
    background-color: transparent;
}

.report-parameters-layout {
    flex-grow: 1;
    flex-basis: 45em;
}

.report-parameters-validate-layout {
    flex-grow: 1;
    flex-basis: 30em;
}

.report-roles-layout {
    flex-grow: 1;
    flex-basis: 30em;
}

.report-views-layout {
    flex-grow: 1;
    flex-basis: 30em;
}

.report-wizard-tip-label {
    font-size: medium;
    display: block;
    padding: calc(0.5em + var(--lumo-border-radius-l));
    line-height: normal;
}
.report-bordered {
    border: 1px solid;
    border-color: var(--lumo-contrast-20pct);
    border-radius: var(--lumo-border-radius-l);
    margin-top: var(--lumo-space-s);
    margin-bottom: var(--lumo-space-s);
}
.report-codeeditor-box jmix-code-editor[has-label] {
    padding: 0;
}